/*
 * @Author: your name
 * @Date: 2020-08-31 10:04:01
 * @LastEditTime: 2020-10-12 10:55:50
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /m-front-common/pc/const/api_authCenter.js
 */
// 中心接口
export const AUTH_CENTER = '/guoke-deepexi-auth-center/api/v1'

//医院注册-根据医院名称查询医院信息
export const findCompanyByCompanyName =
  AUTH_CENTER + '/company/findCompanyByCompanyName'

// 医院注册-校验医疗机构登记号是否存在
export const isExistHospitalRegistrationNumber =
  AUTH_CENTER + '/company/isExistHospitalRegistrationNumber'

// 企业注册-校验统一社会信用代码是否存在
export const isExistUnifiedSocialCreditCode =
  AUTH_CENTER + '/company/isExistUnifiedSocialCreditCode'

// 配送商邀请-（被邀请方）-根据ID查询邀请医院联系人信息
export const findHospitalContactById =
  AUTH_CENTER + '/authSupplierHospital/findHospitalContactById'

// 配送商邀请-校验是否已申请过邀请医院授权
export const checkHospitalAuthorization =
  AUTH_CENTER + '/authSupplierHospital/checkHospitalAuthorization'

// 配送商端-申请医院授权
export const authSupplierHospital = AUTH_CENTER + '/authSupplierHospital'

// 检验唯一码是否重复
export const companyCheckRepeat = AUTH_CENTER + '/company/checkRepeat'

// 根据企业名称模糊匹配查询企业信息接口
export const getCompanyByLikeCompanyName =
  AUTH_CENTER + '/company/getCompanyByLikeCompanyName'
// 多租户/查询平台体系结构树
// 多租户/根据企业名称模糊匹配查询企业信息接口
export const AcOverallStructurePageList =
  AUTH_CENTER + '/AcOverallStructure/pageList'
// 多租户/查询非自有体系树，返回企业名称，企业id
export const AcOverallStructureGetNoneStructure =
  AUTH_CENTER + '/AcOverallStructure/getNoneStructure'
// 多租户/查询非自有体系树，返回企业名称，企业id
export const AcOverallStructureFindAcOverallStructureTree =
  AUTH_CENTER + '/AcOverallStructure/findAcOverallStructureTree'
// 多租户/根据节点id，查询该节点直接下级节点信息
export const AcOverallStructureGetStructureChilds =
  AUTH_CENTER + '/AcOverallStructure/getStructureChilds'
// 多租户/通过当前登录用户id、选中节点的企业id，查询客商关系id
export const AcOverallStructureGetChannelCompanyId =
  AUTH_CENTER + '/AcOverallStructure/getChannelCompanyId'
// 多租户/渠道企业关系管理/分页查询
export const channelCompanyGetPage = AUTH_CENTER + '/channelCompany/getPage'
// 多租户/添加体系树目录
export const AcOverallStructureSave = AUTH_CENTER + '/AcOverallStructure/save'
// 多租户/删除体系树目录
export const AcOverallStructureDel = AUTH_CENTER + '/AcOverallStructure/del'
// 多租户/模糊查询体系树下的企业名称
export const AcOverallStructureFindTreeCompanyName =
  AUTH_CENTER + '/AcOverallStructure/findTreeCompanyName'
// 子系统/体系list
export const companyDownList = AUTH_CENTER + '/company/downList'
// 多租户/移动体系树
export const AcOverallStructureEditStructureTree =
  AUTH_CENTER + '/AcOverallStructure/editStructureTree'
// 多租户/根据原厂公司ID查询体系
export const AcOverallStructureInfoGetByFactoryCompanyId =
  AUTH_CENTER + '/AcOverallStructureInfo/getByFactoryCompanyId'
// 多租户/新增/修改体系
export const AcOverallStructureInfoSaveOrUpdate =
  AUTH_CENTER + '/AcOverallStructureInfo/saveOrUpdate'
// 工作台客服支持页签
export const AcOverallStructureorkbenchTable = AUTH_CENTER + '/AcOverallStructure/workbenchTable'
// 寻源准入start
// 寻源准入详情
export const commonSourceProductDetail = AUTH_CENTER + '/common/source/productDetail'
// 寻源准入end

// 企业信息查询
export const getCompanyInfo = AUTH_CENTER + '/company/getCompanyInfo'
// 查询企业是否认证
export const checkCompanyByName = AUTH_CENTER + '/companyNew/checkCompanyByName'
// 经销商绑定产品线
export const dealerBindProdLineIds = AUTH_CENTER + '/AcOverallStructure/dealerBindProdLineIds'
